
  *{transition: all 0.5s;}
  .catContainer {
      position: absolute;
      top: 98px;
      right: 34%;
  }
  body{
    height: 100vh;
    overflow: hidden;
  }
.code-wrapper{
  padding: 10px;
  width: 40%;
      height: 90%;
    margin: 20px;

}
#code{width: 100%;overflow: hidden;}
  


  .actions{
    position: absolute;
    right: 40px;
    top: 0;
    display: flex;
    flex-direction: column;
  }
  .actions>button{
    margin-top: 15px;
    background: #ddd;
    padding: 8px 10px;
    border: none;
  }
  .actions>button.active{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    background: #bbb;
  }
  .actions>button:focus{
    outline: none;
  }



  @media(max-width:550px){
      body{width: 100vh;height: 100vh; }

    .code-wrapper{
        width: 100%;height: 50%;margin: 0;z-index: 10;
    }
    .preview{
        height: 50%;
    }
    .catContainer{
        top: 35%;left: 20%;
    }
    html{overflow: hidden;}
    .code{z-index: 11;}
  }
  @media (max-width:322px){
    .catContainer{
        top: 25%;left: 20%;
    }
    .code-wrapper{
      height: 45%;margin: 0;z-index:10;
    }
    .code{z-index: 11;}
  }